<template>
  <div class="basic-layout">
    <a-layout>
      <a-layout-header class="header">
        <GlobalHeader/>
      </a-layout-header>
      <a-layout-content class="content">
        <router-view/>
      </a-layout-content>
      <a-layout-footer>
        <a href="#">编程导航</a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>
<script setup lang="ts">
import GlobalHeader from "@/components/GlobalHeader.vue";

</script>

<style scoped>
.basic-layout .ant-layout-footer{
  background: #efefef;
  text-align: center;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}
.basic-layout .content{
  padding: 20px;
  margin-bottom: 20px;
  background: linear-gradient(to right, #efefef, #fff);
}
.basic-layout .header{
  background: #fff;
  margin-bottom: 16px;
  color: unset;
  padding-inline: 20px;
}
</style>
